package cn.ycc1.feign.vo;

import lombok.Data;

/**
 * @Title:
 * @Author ycc
 * @Date 2023/7/8 21:37
 */
@Data
public class UserDetailVo {
    private Long id;
    private String username;
    private String password;
    private String email;

    public boolean isAdmin() {
        return this.getId() == 1;
    }
}
